<template>
    <!-- 调换记录详情 -->
    <view class="goodsrecord-content">
      <view class="goodsrecord-item flex justify-between items-center mb-24" >
        <view>
          <view class="tit mb-20">
            <text>申请时间{{ goodsrecorddetails.name }}</text>
            <text class="ml-8">{{ goodsrecorddetails.mobile }}</text>
          </view>
          <view class="subtit">
            {{ goodsrecorddetails.status}}
          </view>
        </view>
      </view>
      <view>
        <view>需调换商品</view>
        <view>
            
        </view>
      </view>
      <view>
        <view>调换为</view>
      </view>
    </view>
  </template>
  
  <script setup>
  import { shopApi } from "@/api";

  const goodsrecorddetails = ref({
    name:'11',
    mobile:'2024-12-15',
    status:'已审核'
  });
  
  let currentPage = ref(1)
  let pageSize = ref(15)
  let totalCount = ref(0)
  let loadStatus =ref('正在加载中')
  function getApplyAdjust() {
    let params = {
      "currentPage": currentPage.value,
      "pageSize": pageSize.value
    }
    shopApi.ORDERAPPLYADJUST(params).then((res) => {
      if (res.code == 200) {
       
      }else{
            uni.showToast({
                title: res.errMsg,
                icon: "success",
            });
        }
    });
  }
  
  onLoad((option) => {
    console.log("url参数", option);
  
    getApplyAdjust()
  });
  
  
  </script>
  
  <style lang="scss">
  page {
    background-color: #f3f3f3;
  }
  </style>
  <style lang="scss" scoped>
  .goodsrecord-content {
    position: relative;
  
    .goodsrecord-item {
      padding: 20px;
      box-sizing: border-box;
      background-color: #fff;
      margin-top: 24rpx;
  
      .tit {
        font-family: PingFang SC;
        font-size: 14px;
        font-weight: 400;
        text-align: left;
        color: rgba(0, 0, 0, 0.9);
      }
  
      .subtit {
        font-family: PingFang SC;
        font-size: 14px;
        text-align: left;
        color: rgba(0, 0, 0, 0.6);
  
      }
  
      .chevronright {
        width: 16px;
        height: 16px;
  
      }
    }
  
    .button-box {
      width: 100%;
      position: fixed;
      bottom: 0rpx;
      left: 0;
      z-index: 9;
      background-color: #fff;
    }
  
    .exit-login {
      width: 654rpx;
      height: 92rpx;
      line-height: 92rpx;
      background: #D68E44;
      color: #ffffff;
      text-align: center;
      border-radius: 64px;
      font-size: 32rpx;
      margin-bottom: 40rpx;
    }
  
    .bg1 {
      background: rgba(253, 236, 219, 1);
      color: rgba(145, 74, 0, 1);
    }
  
    .exit-login:after {
      border: none;
    }
  }
  </style>